home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / objects.h < prev    next >
C/C++ Source or Header  |  1979-12-31  |  886b  |  42 lines

  1. /* --------------------------------- objects.h ------------------------------ */
  2.  
  3. /* This is part of the flight simulator 'fly8'.
  4.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. */
  6.  
  7. /* Object types.
  8. */
  9.  
  10. #ifndef FLY8_OBJ
  11. #define FLY8_OBJ
  12.  
  13. typedef enum oname ONAME;
  14.  
  15. enum oname {
  16.     O_EOF = -1,
  17.     O_GROUND = 0,     /*  0 */    /* REMEMBER to update parms.h! */
  18.     O_PLANE,      /*  1 */
  19.     O_BOX,      /*  2 */
  20.     O_RUNWAY,      /*  3 */
  21.     O_M61,      /*  4 */
  22.     O_TARGET,      /*  5 */
  23.     O_BROKEN,     /*  6 */
  24.     O_VIEWER,      /*  7 */
  25.     O_CHUTE,      /*  8 */
  26.     O_HOUSE,      /*  9 */
  27.     O_TOWER,      /* 10 */
  28.     O_LOW,      /* 11 */
  29.     O_GTARGET,      /* 12 */
  30.     O_MK82,     /* 13 */
  31.     O_CRATER,      /* 14 */
  32.     O_SMOKE,     /* 15 */
  33.  
  34.     O_INT,             /* number of   internal objects */
  35.     O_LOCAL = O_INT+5,    /* room for  5 local    objects */
  36.     O_ALL = O_LOCAL+10,    /* room for 10 external objects */
  37.     O_DEFINE = 0x1000
  38. };
  39. #define O_EXT        (O_ALL-O_INT)
  40.  
  41. #endif
  42.